<!--
描述：学校信息-查看组件
开发人：fwb
开发日期：2017年12月11日
-->
<template lang="pug">
    kalix-dialog.user-add(bizKey="schoolInfo" ref="kalixBizDialog" v-bind:formModel.sync="formModel" isView)
        div.el-form(slot="dialogFormSlot")
            el-form-item.s-flex(label="学校代码" prop="xxdm" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.xxdm" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="学校类别" prop="xxlb" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.xxlb" readonly)
                el-form-item.s-flex_item(label="学校性质" prop="xxxz" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.xxxz" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="中文名称" prop="zwmc" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.zwmc" readonly)
                el-form-item.s-flex_item(label="中文简称" prop="zwjc" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.zwjc" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="英文名称" prop="ywmc" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.ywmc" readonly)
                el-form-item.s-flex_item(label="英文简称" prop="ywjc" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.ywjc" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="主管部门" prop="zgbm"  v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.zgbm" readonly)
                el-form-item.s-flex_item(label="书记" prop="sj"  v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.sj" readonly)
                el-form-item.s-flex_item(label="校长" prop="xz" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.xz" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="电话" prop="dh" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.dh" readonly)
                el-form-item.s-flex_item(label="传真" prop="cz" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.cz" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="联系人" prop="lxr" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.lxr" readonly)
                el-form-item.s-flex_item(label="电子邮箱" prop="dzyx" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.dzyx" readonly)
            div.s-flex
                el-form-item.s-flex_item(label="网址" prop="wz" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.wz" readonly)
                el-form-item.s-flex_item(label="邮编" prop="yb" v-bind:label-width="labelWidth")
                    el-input(v-model="formModel.yb" readonly)
            el-form-item.s-flex(label="地址" prop="dz" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.dz" readonly)
</template>

<script type="text/ecmascript-6">
    import FormModel from './model'

    export default {
        name: 'SchoolInfoView',
        data() {
            return {
                formModel: Object.assign({}, FormModel),
                labelWidth: '140px'
            }
        },
        methods: {}
    }
</script>
